<%@ page import="com.bafa.objects.season.Season" %>
<%@ page import="com.bafa.objects.season.Division" %>
<%@ page import="com.bafa.objects.team.Team" %>
<%@ page import="com.bafa.objects.team.TeamSeasonStats" %>
<%@ page import="com.bafa.objects.team.TeamStats" %>
<%@ page import="com.bafa.objects.player.*" %>
<%@ page import="com.bafa.objects.*" %>
<%@ page import="com.bafa.middle.*" %>
<%@ page import="com.bafa.front.presentationbeans.*" %>
<%@ page import="java.util.*" %>

<% SeasonBean season = (SeasonBean)session.getAttribute("THISSEASON");%>

<% PlayerListBean scorers = (PlayerListBean)request.getAttribute("TOPSCORERS");%>


<style>
ul#topscorer,ul#topscorer li{margin:0;padding:0;list-style:none}
	ul#topscorer li{float:left;width:255;margin:0 10px 10px 0}
	ul#topscorer h3{font: bold  Verdana,sans-serif;
	    text-transform:uppercase;margin:0px;padding: 5px 0 3px;text-align:center}
	ul#topscorer p{margin:0;padding:5px 8px 15px}
	ul#topscorer div{background:#FFFFFF}
	li#topscorer div{border:2px solid #D2D2D2}
</style>





 <ul id="topscorer">
       		<li id="topscorer"><h3 class="avlh">Top 10 Scorers</h3>
          
      <div>
        <table width="252" border="0" class="bafatablevsmall">
         
        <%if(scorers!=null){
  for(int i=0;i<scorers.players().length&&i<10;i++){
  PlayerBean scorer = scorers.players()[i];%>
  	<tr class="r2">
  		<td class="smallgraytext"><strong><a href="master?page=playerhistory&playername=<%=scorer.getName()%>"><%=scorer.getName()%></a></strong></td>
  		<td > <%=scorer.getGoals()%></td>
  	</tr>
  	<%i++;if(i<scorers.players().length){scorer = scorers.players()[i];%>
  	<tr class="r1">
  		<td class="smallgraytext"><strong><a href="master?page=playerhistory&playername=<%=scorer.getName()%>"><%=scorer.getName()%></a></strong></td>
  		<td ><%=scorer.getGoals()%></td>
  	</tr>
  	<%}}}%><tr></tr>
        </table>
      </div>
      </li>
      </ul>